package plus.easydo.starter.job.auto.config;

/**
 * 运行模式
 *
 * @author laoyu
 */
public enum GlueTypeEnum {

    /**运行模式*/
    BEAN("BEAN","BEAN"),
    GLUE_GROOVY("GLUE_GROOVY","GLUE(Java)"),
    GLUE_SHELL("GLUE_SHELL","GLUE(Shell)"),
    GLUE_PYTHON("GLUE_PYTHON","GLUE(Python)"),
    GLUE_PHP("GLUE_PHP","GLUE(PHP)"),
    GLUE_NODEJS("GLUE_NODEJS","GLUE(Nodejs)"),
    GLUE_POWERSHELL("GLUE_POWERSHELL","GLUE(PowerShell)");

    private final String code;
    private final String desc;

    GlueTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
